
try:
    weight = float(input("weight:"))
    height = float(input("height:"))
    bmi = weight/(height**2)
except ValueError:
    print("value error")
except ZeroDivisionError:
    print("division error")
except:
    print("unexpected error")
else:
    print(f"bmi:{bmi}")